/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tareasClase;

/**
 *
 * @author Lab
 */
public class otro2 {

    public static void main(String[] args) {

        double inicio = 0.0;

        Float f =new Float(inicio);
        System.out.println("Float "+f);

       Double d = f.doubleValue();
        System.out.println("double "+d);

      String s = d.toString();
        System.out.println("String  "+s);

       Integer i = Integer.parseInt(s.substring(0,s.length()-2));
        System.out.println("integer "+i);
    }
}
